package com.ruoyi.movie.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 演员对象 actor
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class Actor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 演员ID */
    private Long actorId;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 英文名 */
    @Excel(name = "英文名")
    private String nameEn;

    /** 更多中文名 */
    @Excel(name = "更多中文名")
    private String nameMore;

    /** 更多英文名 */
    @Excel(name = "更多英文名")
    private String nameEnMore;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 逝世日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "逝世日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deathDay;

    /** 国家ID */
    @Excel(name = "国家ID")
    private Integer countryId;

    /** 出生地 */
    @Excel(name = "出生地")
    private String bornPlace;

    /** 简介 */
    @Excel(name = "简介")
    private String brief;

    public void setActorId(Long actorId)
    {
        this.actorId = actorId;
    }

    public Long getActorId()
    {
        return actorId;
    }

    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setNameEn(String nameEn)
    {
        this.nameEn = nameEn;
    }

    public String getNameEn()
    {
        return nameEn;
    }

    public void setNameMore(String nameMore)
    {
        this.nameMore = nameMore;
    }

    public String getNameMore()
    {
        return nameMore;
    }

    public void setNameEnMore(String nameEnMore)
    {
        this.nameEnMore = nameEnMore;
    }

    public String getNameEnMore()
    {
        return nameEnMore;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }

    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }

    public void setDeathDay(Date deathDay)
    {
        this.deathDay = deathDay;
    }

    public Date getDeathDay()
    {
        return deathDay;
    }

    public void setCountryId(Integer countryId)
    {
        this.countryId = countryId;
    }

    public Integer getCountryId()
    {
        return countryId;
    }

    public void setBornPlace(String bornPlace)
    {
        this.bornPlace = bornPlace;
    }

    public String getBornPlace()
    {
        return bornPlace;
    }

    public void setBrief(String brief)
    {
        this.brief = brief;
    }

    public String getBrief()
    {
        return brief;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("actorId", getActorId())
            .append("avatar", getAvatar())
            .append("name", getName())
            .append("nameEn", getNameEn())
            .append("nameMore", getNameMore())
            .append("nameEnMore", getNameEnMore())
            .append("gender", getGender())
            .append("birthday", getBirthday())
            .append("deathDay", getDeathDay())
            .append("countryId", getCountryId())
            .append("bornPlace", getBornPlace())
            .append("brief", getBrief())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
